module.exports = {
  registerParamsError: {
    code: '10001',
    message: '参数错误',
    data: null
  },
  userAlreadyExsitd: {
    code: '10002',
    message: '用户已存在',
    data: null
  },
  userServerError: {
    code: '10003',
    message: '用户注册错误',
    data: null
  },
  userDoesNotExsit: {
    code: '10004',
    message: '用户不存在',
    data: null
  },
  userPwdError: {
    code: '10005',
    message: '密码错误',
    data: null
  },
  userLoginError: {
    code: '10006',
    message: '用户登录错误',
    data: null
  },
  updatePwdErr: {
    code: '10007',
    message: '修改密码失败',
    data: null
  },
  tokenExpiredError: {
    code: '10101',
    message: 'token已过期',
    data: null
  },
  invalidToken: {
    code: '10102',
    message: 'token无效',
    data: null
  },
  uploadError: {
    code: '10201',
    message: '图片上传失败',
    data: null
  }
}